<template>
	<view>
		<u-popup v-model="show" mode="bottom" :closeable='false' :mask-close-able='false'>
			<view class="share_box">
				<view class="share_title">
					选择要分享的平台
				</view>
				<view class="share_icons">
					<view class="icon_title">
						<view class="icon">
							<image style="width: 51rpx;height: 56rpx;" class="img" src="../../static/img/qq.png"
								mode="">
							</image>

						</view>
						<view class="title">
							qq
						</view>
					</view>
					<view class="icon_title">
						<view class="icon">
							<image style="width: 51rpx;height: 56rpx;" class="img" src="../../static/img/wx.png"
								mode="">
							</image>

						</view>
						<view class="title">
							微信
						</view>
					</view>
				</view>
				<view class="dot">

				</view>
				<view class="close_btn" @click="handClose">
					取消分享
				</view>
			</view>

		</u-popup>
	</view>
</template>

<script>
	export default {
		name: "ZY-share",
		props: {
			show: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {

			};
		},
		methods:{
			handClose(){
				this.$emit('update:show',false)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.share_box {
		background-color: #EAECF1;

		.dot {
			width: 13rpx;
			height: 13rpx;
			background-color: #16A4FF;
			margin: 35rpx auto;
			border-radius: 50rpx;
		}

		.close_btn {
			background-color: #fff;
			text-align: center;
			height: 105rpx;
			width: 100%;
			line-height: 105rpx;
			text-align: center;
			font-size: 30rpx;
			color: #7C7C7C;
		}

		.share_icons {
			display: flex;
			align-items: center;
			justify-content: center;


			.icon_title {
				display: flex;
				flex-direction: column;
				align-items: center;
				margin: 0 60rpx;

				.title {
					font-size: 24rpx;
					margin-top: 11rpx;
					color: #585858;
				}
			}

			.icon {
				width: 100rpx;
				height: 100rpx;
				border-radius: 8rpx;
				background-color: #FFFFFF;
				display: flex;
				align-items: center;
				justify-content: center;


				.img {
					width: 60rpx;
					height: 60rpx;
				}
			}
		}

		.share_title {
			color: #585858;
			font-size: 32rpx;
			padding-top: 33rpx;
			margin-bottom: 45rpx;
			text-align: center;
		}
	}
</style>
